package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class BigClientQueryObject extends QueryForObject {

    private String keyword = null;
    private Long schooleTypeId = 0L;
    private Long marketingPersonId = 0L;
    private Long state = 0L;

    public String getKeyword() {
        return keyword == null || "".equals(keyword.trim()) ? null : keyword;
    }

    public Long getState() {
        return state > 0 ? state : 0;
    }

    public Long getSchooleTypeId() {
        return schooleTypeId > 0 ? state : 0;
    }

    public Long getMarketingPersonId() {
        return marketingPersonId > 0 ? state : 0;
    }

}
